﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace Obra.Test
{
    interface IMatchedContent
    {
        /// <summary>
        /// Is this the content provider for this URI?
        /// </summary>
        bool IsMatch(Uri uri);

        /// <summary>
        /// Get the content for this provider.
        /// </summary>
        byte[] GetContent();

        /// <summary>
        /// Contents of the request made that was a match for content
        /// of this provider.
        /// </summary>
        List<HttpListenerRequest> Requests { get; }
    }
}
